<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-transitional.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<title>安徽大学研究生联合培养网站-后台管理系统</title>
<script src="${pageContext.request.contextPath}/scripts/jquery.js" type="text/javascript"></script>

<link rel="stylesheet" href="${pageContext.request.contextPath}/editor/themes/default/default.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/editor/plugins/code/prettify.css" />
<script charset="utf-8" src="${pageContext.request.contextPath}/editor/kindeditor.js"></script>
<script charset="utf-8" src="${pageContext.request.contextPath}/editor/lang/zh_CN.js"></script>
<script charset="utf-8" src="${pageContext.request.contextPath}/editor/plugins/code/prettify.js"></script>

<link href="${pageContext.request.contextPath}/styles/rightMain.css" rel="stylesheet" type="text/css"> 
<link href="${pageContext.request.contextPath}/styles/pageDivB.css" rel="stylesheet" type="text/css" />
<script>
		KindEditor.ready(function(K) {
			var editor1 = K.create('textarea[name="content"]', {
				cssPath : '${pageContext.request.contextPath}/editor/plugins/code/prettify.css',
				uploadJson : '${pageContext.request.contextPath}/editor/jsp/upload_json.jsp',
				fileManagerJson : '${pageContext.request.contextPath}/editor/jsp/file_manager_json.jsp',
				allowFileManager : true,
				afterCreate : function() {
					var self = this;
					K.ctrl(document, 13, function() {
						self.sync();
						document.forms['form'].submit();
					});
					K.ctrl(self.edit.doc, 13, function() {
						self.sync();
						document.forms['form'].submit();
					});
				}
			});
			prettyPrint();
		});
	</script>
<style>
body{
	background: #eef2fb;
}
</style>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="${pageContext.request.contextPath}/styles/images/mail_leftbg.gif"><img src="${pageContext.request.contextPath}/styles/images/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="${pageContext.request.contextPath}/styles/images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">联合培养机构修改 </div></td>
      </tr>
    </table>
    </td>
    <td width="16" valign="top" background="${pageContext.request.contextPath}/styles/images/mail_rightbg.gif"><img src="${pageContext.request.contextPath}/styles/images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="${pageContext.request.contextPath}/styles/images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9">
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td colspan="2" valign="top" width="80%">&nbsp;</td>
        <td width="5%">&nbsp;</td>
        <td valign="top" width="15%">&nbsp;</td>
      </tr>
      <tr>
        <td colspan="2" valign="top"><span class="left_bt">请修改或添加信息，填写完成后点击提交即可完成修改</span><br>
       <br> 
	        <s:form name="form" action="instituteAction_%{id==null ? 'add' : 'edit'}">
	        	<s:hidden name="id"></s:hidden>
	        	名称：<s:textfield name="name"></s:textfield>
	        	<br> 
	        	<br>
	        	主页：<s:textfield name="home_page"></s:textfield><br><br>
				图标：<s:textfield name="huibiao"></s:textfield><br><br>
				简介：<br><br><s:textarea name="content" style="width:720px;height:550px;"></s:textarea><br><br>
	        	<s:submit value="提交"></s:submit>
			</s:form>
        </td>
        <td width="5">&nbsp;</td>
        <td width="15%" valign="top"><table width="100%" height="144" border="0" cellpadding="0" cellspacing="0" class="line_table">
          <tr>
          <br><br>
            <td width="7%" height="27" background="${pageContext.request.contextPath}/styles/images/news-title-bg.gif"><img src="${pageContext.request.contextPath}/styles/images/news-title-bg.gif" width="2" height="27"></td>
            <td width="93%" background="${pageContext.request.contextPath}/styles/images/news-title-bg.gif" class="left_bt2">操作说明</td>
          </tr>
          <tr>
            <td height="102" valign="top">&nbsp;</td>
            <td height="102" valign="top">
            <textarea rows="10" cols="30"></textarea>
            </td>
          </tr>
          <tr>
            <td height="5" colspan="2">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td colspan="2">&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      
      <tr>
        <td height="40" colspan="4"><table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
          <tr>
            <td></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td width="2%">&nbsp;</td>
        <td width="51%" class="left_txt"><img src="${pageContext.request.contextPath}/styles/images/icon-mail2.gif" width="16" height="11"> 管理员QQ：403278819<br>
              <img src="${pageContext.request.contextPath}/styles/images/icon-phone.gif" width="17" height="14"> <a href="indexAction_index.action" target="_bank">进入前台</a></td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table></td>
    <td background="${pageContext.request.contextPath}/styles/images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="bottom" background="${pageContext.request.contextPath}/styles/images/mail_leftbg.gif"><img src="${pageContext.request.contextPath}/styles/images/buttom_left2.gif" width="17" height="17" /></td>
    <td background="${pageContext.request.contextPath}/styles/images/buttom_bgs.gif"><img src="${pageContext.request.contextPath}/styles/images/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="${pageContext.request.contextPath}/styles/images/mail_rightbg.gif"><img src="${pageContext.request.contextPath}/styles/images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
</body>
</html>
